package com.qf.feign;

import com.qf.pojo.UserAddress;
import org.springframework.stereotype.Component;

/**
 * @author wbzs,
 * @date 2022/10/22,
 * @time 14:12,
 */
@Component
public class AddressFeignImp implements AddressFeign {
    @Override
    public UserAddress findAddressByid(Integer id) {

        UserAddress userAddress =new UserAddress();
        userAddress.setId(-121212);
        userAddress.setAddress("每次起名字我也纠结");

        return userAddress;
    }

    @Override
    public UserAddress findByid(Integer id, String address) {


        UserAddress userAddress =new UserAddress();
        userAddress.setId(-121212);
        userAddress.setAddress("额滴神啊");
        return userAddress;
    }
}
